package com.longjianghuasheng.logistics.business.news

import androidx.lifecycle.MutableLiveData
import com.longjianghuasheng.logistics.base.BaseMultiStateViewModel
import com.longjianghuasheng.logistics.entity.AboutResponse
import com.longjianghuasheng.logistics.network.apiService

class NewsViewModel : BaseMultiStateViewModel() {
    var id = 0
    val result by lazy {
        MutableLiveData<AboutResponse>()
    }


    fun news_show() {

        getData({ apiService.news_show(id) }, result)

    }
}